package com.sc.nft.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.dto.CollectionChipReceiveDTO;
import com.sc.nft.entity.ActivityAward;
import com.sc.nft.entity.CollectionChipInfoRecord;
import com.sc.nft.entity.CollectionChipReceiveRecord;
import com.sc.nft.entity.vo.CollectionChipReceivePageVO;
import com.sc.nft.mapper.ActivityAwardMapper;
import com.sc.nft.mapper.CollectionChipReceiveRecordMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

@Slf4j
@Repository
public class CollectionChipReceiveRecordDao extends ServiceImpl<CollectionChipReceiveRecordMapper, CollectionChipReceiveRecord> {

    public IPage<CollectionChipReceivePageVO> receiveRecord(CollectionChipReceiveDTO receiveDTO) {
        return baseMapper.receiveRecord(receiveDTO.toMp(),receiveDTO);
    }
}
